package cn.stylefeng.guns.modular.system.mapper;

import cn.stylefeng.guns.modular.system.entity.SysUserProfit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * 用户收益表 Mapper 接口
 * </p>
 *
 * @author zfy
 * @since 2020-08-13
 */
public interface SysUserProfitMapper extends BaseMapper<SysUserProfit> {
    IPage<Map<String,Object>> userProfitList(@Param("page") Page page,
                                             @Param("schoolName")String schoolName,
                                             @Param("userId")Long userId,
                                             @Param("state")Integer state);

}
